import * as ApiUtil from '@/api/index';

const api = {
  dataSourceEncrypt: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/dataSourceDes/encrypt'),
  dataSourceDecrypt: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/dataSourceDes/decrypt'),
};

export function dataSourceEncrypt(data?: object) {
  return ApiUtil.getI5xforyou(api.dataSourceEncrypt, data);
}

export function dataSourceDecrypt(data?: object) {
  return ApiUtil.getI5xforyou(api.dataSourceDecrypt, data);
}
